package com.mxm.mirai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mxm.mirai.dao.Botconfig;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 漫小猫
 * @since 2020-09-24
 */
@Repository
public interface BotconfigMapper extends BaseMapper<Botconfig> {


    boolean QueryBotConfigQQIf(String qq,String task);

    String QueryBotConfigState(String qq,String task);

    boolean UpdateBotConfigQQ(String qq,String task,String state,String content);

    Integer deleteBotConfigKeyByValue(String key,String value);

    Integer deleteBotConfigKeyByValue(String key1,String value1,String key2,String value2);


}
